import { observable, makeAutoObservable, action } from 'mobx';

class LanguageStore {
  constructor() {
    makeAutoObservable(this);
  }

  @observable language: string = 'ch';

  @action setLanguage = (value: string) => {
    this.language = value;
  };
}
const languageStore = new LanguageStore();
export default languageStore;
